//---------------------------------------------------------------------
//  This file is part of the Background Motion solution.
// 
//  Copyright (C) Mindscape (TM).  All rights reserved.
//  http://www.mindscape.co.nz
// 
//  THIS CODE AND INFORMATION ARE PROVIDED AS IS WITHOUT WARRANTY OF ANY
//  KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
//  IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A
//  PARTICULAR PURPOSE.
//---------------------------------------------------------------------

namespace Mindscape.BackgroundMotion.Core
{
  public interface IContextItems
  {
    /// <summary>
    /// Gets an item from the container based on a key
    /// </summary>
    /// <param name="key">The key of the item.</param>
    T GetItem<T>(string key);

    /// <summary>
    /// Sets an item in the container
    /// </summary>
    /// <param name="key">The key of the item.</param>
    /// <param name="value">The value of the item.</param>
    void SetItem<T>(string key, T value);

    /// <summary>
    /// Removes an item from the container
    /// </summary>
    /// <param name="key">The key of the item.</param>
    void RemoveItem(string key);
  }
}